//-----------------------------------------------------------------------
// <copyright file="PersonStatus.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models
{
    /// <summary>
    /// Identifies a status (yes/no) for a person for a status type.
    /// </summary>
    public class PersonStatus
    {
        #region Instance Properties

        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId PersonId { get; set; }

        public ObjectId RefPersonStatusTypeId { get; set; }

        public bool StatusValue { get; set; }

        public DateTime? StatusStartDate { get; set; }

        public DateTime? StatusEndDate { get; set; }

        #endregion Instance Properties
}

}